package com.wzq.permission.center.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.wzq.permission.center.mapper.OperateLogMapper;
import com.wzq.permission.client.model.Pager;
import com.wzq.permission.client.model.admin.OperateLogModel;
import com.wzq.permission.client.service.OperateLogService;

/**
 * 登录日志
 * @author liuzaoyong
 * @date 2016年5月12日下午4:08:41
 */
@Service
@Transactional
public class OperateLogServiceImpl  implements OperateLogService{

	@Autowired
	private OperateLogMapper  operateLogMapper;
	@Override
	public List<OperateLogModel> queryList(OperateLogModel operateLogModel,
			Pager pager) {
		return operateLogMapper.queryList(operateLogModel, pager);
	}
	@Override
	public Integer queryCount(OperateLogModel operateLogModel) {
		return operateLogMapper.queryCount(operateLogModel);
	}

}
